package online.foxnull2.foxmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import online.foxnull2.foxmall.product.entity.SkuInfoEntity;
import online.foxnull2.foxmall.product.utils.PageUtils;
import online.foxnull2.foxmall.product.vo.skuItem.SkuItemVo;

import java.math.BigDecimal;
import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * sku信息
 *
 * @author foxnull2
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    SkuItemVo item(Long skuId) throws ExecutionException, InterruptedException;

    BigDecimal getPriceBySkuId(Long skuId);
}

